package com.apexedu.biz.entity;

import javax.persistence.*;
import java.util.Date;

/**
 * Created by chenlu on 2016/6/22.
 */
@Entity
@Table(name = "T_SERVICE_SATISFACTION")
public class TServiceSatisfaction {
    private String wid;
    private String menuid;
    private String title;
    private double satisfaction;
    private String nr;
    private String cjr;
    private Date cjrq;

    @Id
    @Column(name = "WID", unique = true, nullable = false, length = 50)
    public String getWid() {
        return this.wid;
    }

    public void setWid(String wid) {
        this.wid = wid;
    }

    @Column(name = "MENUID", length = 50)
    public String getMenuid() {
        return this.menuid;
    }

    public void setMenuid(String menuid) {
        this.menuid = menuid;
    }

    @Column(name = "TITLE", length = 400)
    public String getTitle() {
        return this.title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    @Column(name = "SATISFACTION", precision = 2, scale = 1)
    public Double getSatisfaction() {
        return satisfaction;
    }

    public void setSatisfaction(Double satisfaction) {
        this.satisfaction = satisfaction;
    }

    @Column(name = "NR")
    public String getNr() {
        return this.nr;
    }

    public void setNr(String nr) {
        this.nr = nr;
    }

    @Column(name = "CJR", length = 80)
    public String getCjr() {
        return this.cjr;
    }

    public void setCjr(String cjr) {
        this.cjr = cjr;
    }

    @Temporal(TemporalType.DATE)
    @Column(name = "CJRQ", length = 7)
    public Date getCjrq() {
        return this.cjrq;
    }

    public void setCjrq(Date cjrq) {
        this.cjrq = cjrq;
    }
}
